package com.gengzp.system.rpc;

import com.gengzp.api.system.SysUserRemoteService;
import com.gengzp.rpc.annotations.RemoteTransactional;
import com.gengzp.system.facade.ISysUserFacade;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SysUserRemoteServiceImpl
 * @Description 系统用户远程调用生产者实现类
 * @Author gengzp
 * @Date 2025/6/1 13:58
 */
@Service
public class SysUserRemoteServiceImpl implements SysUserRemoteService {

    private static final Logger logger = LoggerFactory.getLogger(SysUserRemoteServiceImpl.class);

    @Autowired
    private ISysUserFacade sysUserFacade;

    @Override
    public Map<Long, String> searchUserId2NicknameMapByUserIds(List<Long> userIds) {
        return sysUserFacade.searchUserId2NicknameMapByUserIds(userIds);
    }

}
